li = [1, 2, 3, 4, 5]
for i in li:
    if i == 3:
        print("有3")
        break
else:
    print("没有3")
